﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using WindowsFormsApplication1;

namespace ConflictTest
{
    [TestFixture]
    public class Class1
    {
        public calendar con = new calendar();
        [Test]
        public void Testtrue()
        {
            con.check_conflect(3,6,"1","5","2014");
            
        }
            [Test,ExpectedException(typeof(NotSupportedException))]
        public void testfalse()
        {
                
            con.check_conflect(0,4,"5","4","2014");
           // Assert.Fail("ohhh no there are false appointment");
        }
    }
}
